#include"World.h"
#include<Windows.h>
#include<gl/gl.h>

/*************************************************************************************/

void World::Bounds(){
	glColor3f(0.8,0.1,0.1);
	/*
	//granica1
	glBegin(GL_LINE_LOOP);
	{
		glVertex3f(-1000.0f * scale, 2850.0f * scale, 0.1f);
		glVertex3f(-2667.0f * scale, -6650.0f * scale, 0.1f);
		glVertex3f(45666.0f * scale, -15000.0f * scale, 0.1f);
		glVertex3f(47166.0f * scale, -7833.0f * scale, 0.1f);
		glVertex3f(32500.0f * scale, -2500.0f * scale, 0.1f);
		glVertex3f(24833.0f * scale, -2500.0f * scale, 0.1f);
		glVertex3f(16666.0f * scale, 2167.0f * scale, 0.1f);


	}
	glEnd();
	*/
	//granica2
	/*
	glBegin(GL_LINE_LOOP);
	{
		glVertex3f(-30.0f * m, 85.0f * m, 0.1f);
		glVertex3f(-80.0f * m, -200.0f * m, 0.1f);
		glVertex3f(1370.0f * m, -450.0f * m, 0.1f);
		glVertex3f(1415.0f * m, -235.0f * m, 0.1f);
		glVertex3f(975.0f * m, -75.0f * m, 0.1f);
		glVertex3f(745.0f * m, -74.0f * m, 0.1f);
		glVertex3f(500.0f * m, 50.0f * m, 0.1f);
	}
	glEnd();
	*/
	//granica3 - latest
	glBegin(GL_LINE_LOOP);
	{
		glVertex3f(-40.0f * m, 100.0f * m, 0.1f);
		glVertex3f(-40.0f * m, -200.0f * m, 0.1f);
		glVertex3f(1370.0f * m, -220.0f * m, 0.1f);
		glVertex3f(1415.0f * m, 0.0f * m, 0.1f);
		glVertex3f(975.0f * m, 75.0f * m, 0.1f);
		glVertex3f(745.0f * m, 24.0f * m, 0.1f);
		glVertex3f(445.0f * m, 100.0f * m, 0.1f);
	}
	glEnd();





	glColor3f(0.5,0.5,0.5);



}

/*************************************************************************************/

void World::Objects(){
}

/*************************************************************************************/

void World::Paths(){
}

/*************************************************************************************/